home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ham Radio 2000
/
Ham Radio 2000.iso
/
ham2000
/
tcp_ip
/
jnos
/
cmdshelp
/
nntp
< prev
next >
Wrap
Text File
|
1994-08-24
|
3KB
|
90 lines
nntp
The 'nntp' commands control the operation of the Network News
Transfer Protocol (NNTP). The nntp features are defined at
compile-time. What follows describes the nntp client features;
the nntp server features are mostly a superset of these commands:
nntp addserver <nntpserver_host> <interval> [<range>] [<groups>]
Add an NNTP news server to query every <interval> seconds for new
articles in the specified <groups>.
<range> specifies the time-of-day limits when the queries will be
made.
Multiple 'nntp addserver' commands may be used to concatenate
groups (up to a maximum of 512 bytes).
Example: nntp add w5ddl.ampr.org 3600 18:00-06:00
nntp directory [ <News_spool_dir> [News_control_dir> ]
Display or set the spool directory for spooling news articles.
Default is /spool/mail. Optionally set a new control directory.
The default control dir is /spool/news.
nntp directory old=new
Establish a newsgroup name mapping, so that a newsgroup name
beginning with <old> is changed to one beginning with <new>,
which may be a null string. To delete a mapping, use <old>==.
The mapping scan continues until the list is exhausted, in the
same order the nntp dir commands were specified.
Example: nntp dir rec.radio.=
nntp dir amateur.=
nntp dir shortwave=swl
nntp dir equipment=eq
will map rec.radio.amateur.policy to policy, rec.radio.swap
to swap, rec.radio.shortwave to swl, and
rec.radio.amateur.equipment to eq.
nntp dropserver <nntpserver_host>
Drop the specified NNTP server.
nntp groups <group> [<group> ...] Default: All groups
Display or set the currently set USEnet newsgroup(s). The group
names are separated by spaces or commas. The '*' and '!'
metacharacters (meaning 'all' and 'not' respectively) are
supported.
nntp kick <nntpserver_host>
Kick the local NNTP client to get in touch with the named server.
nntp listservers
List the currently defined servers.
nntp lzw <on | off>
Turn on or off LZW compression when receiving articles.
nntp trace <level> Default: 1
Sets or shows the current trace level for NNTP traffic.
Level
0: No tracing.
1: Display serious errors only
2: Display serious and transient errors
3: Display serious and transient errors, plus session progress
4: Display serious and transient errors, session progress and
actual received articles
5: Display errors.
nntp quiet <yes | no> Default: no
Sets or shows the current arrival-notification setting for NNTP
traffic. The notification will include a BEL character if
"smtp quiet no" is in effect.
nntp firstpoll [<#days>] Default: 5
Sets or shows the number of days of old news that is requested
in the initial poll to a new server.